package com.jeff.tianti.cms.dao;

import com.jeff.tianti.cms.dto.CourseQueryDTO;
import com.jeff.tianti.cms.dto.TeachQueryDTO;
import com.jeff.tianti.cms.entity.Course;
import com.jeff.tianti.cms.entity.Teach;
import com.jeff.tianti.common.PageBean;
import com.jeff.tianti.common.entity.PageModel;

import java.util.List;
import java.util.Map;

/**
 * @author xujianfang
 * @desc ColumnInfoDaoCustom接口
 * @date 2017-03-16
 */
public interface CourseDaoCustom {

    PageModel<Course> queryCoursePage(CourseQueryDTO courseQueryDTO);

    List<Course> queryCourseList(CourseQueryDTO courseQueryDTO);

    int updateSelectiveById(Course course);

    public PageModel<Map<String, Object>> queryCourseList(PageBean pageBean);

    public PageModel<Map<String, Object>> queryCourseListByTeachId(String teachId, int currentPage, int totalPage);

    public PageModel<Map<String, Object>> queryCourseListByBast(int currentPage, int totalPage);

    public List getLastSixDay();

    public List getLastSixDayCourse(String startTime) ;

    public List<Map<String, Object>> getCourseListByCateId(String columnId) ;
}